﻿
namespace UmbracoExtending.Dealer.Model
{
    /// <summary>
    /// 错误响应体
    /// </summary>
    public class ErrorResult
    {
        /// <summary>
        /// 错误 编码
        /// </summary>
        public int ErrorCode { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public string ErrorMsg { get; set; }

        public override string ToString()
        {
            return Newtonsoft.Json.JsonConvert.SerializeObject(this);
        }
    }
}
